package com.xmy.cultivate.entity;

import com.alibaba.fastjson2.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer;
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 招生提成设置
 * </p>
 *
 * @author hpiggy
 * @since 2024-09-11
 */
@Data
@TableName("enroll_royalty_set")
@ApiModel(value = "EnrollRoyaltySet对象", description = "招生提成设置")
public class EnrollRoyaltySet implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    @ApiModelProperty("等级：1市级，2县级")
    private Integer level;

    @ApiModelProperty("开课校区类型:2指定校区，1全部校区【指定校区保存到appoint_school表类型type为6】")
    private Integer openingSchoolType;

    @ApiModelProperty("号码金额")
    private BigDecimal phoneMoney;

    @ApiModelProperty("邀约金额")
    private BigDecimal inviteMoney;

    @ApiModelProperty("试听金额")
    private BigDecimal auditionMoney;

    @ApiModelProperty("成交金额")
    private BigDecimal bargainMoney;

    @ApiModelProperty("开始时间")
    private LocalDate startDate;

    @ApiModelProperty("结束时间")
    private LocalDate endDate;

    @TableField(exist = false)
    private List<Long> schoolList;

    @TableField(exist = false)
    private String schoolIdList;

    @TableField(exist = false)
    private String schoolName;

}
